//
//  BaseViewController.h
//  微blog
//
//  Created by Jorn.Wu on 15/8/19.
//  Copyright (c) 2015年 Jorn.Wu(jorn_wza@sina.com). All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
#import "AFHTTPRequestOperation.h"

@interface BaseViewController : UIViewController{
    UIView *_tipView;   //自己实现
    MBProgressHUD *_hud;
    
    UIWindow *_tipWindow;   //状态栏的提示
    
}

/**
 * 添加普通Item
 */
- (void)addNavigationItemWithOrientation:(NSString *)orientation title:(NSString *)title image:(NSString *)imagename action:(SEL)action;

/**
 * 添加主题Item
 */
- (void)addNavigationThemeItemWithOrientation:(NSString *)orientation title:(NSString *)title image:(NSString *)imagename action:(SEL)action;

/**
 * 状态栏提示(主要是用来提示发送微博的状态，operation为AFHTTPRequestOperation)
 */
- (void)showStatusTip:(NSString *)title
                 show:(BOOL)show
            operation:(AFHTTPRequestOperation *)operation;



















@end
